package com.uwlaser.service.dto;

import com.uwlaser.domain.FactoryShiftTime;
import com.uwlaser.domain.FactoryTeamEmployee;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author huangpan
 * @date 2022-12-02
 */
@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class FactoryShiftDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private Integer id;

    @ApiModelProperty(value = "班组ID")
    private Integer teamGroupId;

    @ApiModelProperty(value = "班次编码")
    private String shiftCode;

    @ApiModelProperty(value = "班次名称")
    private String shiftName;

    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "是否禁用 0：否，1：是")
    private String isDisable;

    @ApiModelProperty(value = "备注说明")
    private String remark;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "所属模型")
    private String templateCode;

    @ApiModelProperty(value = "是否跨天0：否，1：是")
    private String isAcross;

    @ApiModelProperty(value = "当前点击时间")
    private String currentTime;

    @ApiModelProperty(value = "负责人")
    private String principal;

    @ApiModelProperty(value = "班次停机信息")
    private List<FactoryShiftTime> factoryShiftTimes;

    @ApiModelProperty(value = "班组信息")
    private List<FactoryTeamEmployee>  factoryTeamEmployees;

    @ApiModelProperty(value = "生产节拍")
    private String meter;

    @ApiModelProperty(value = "计划产量")
    private String yield;
}
